package com.sneaker.shower.mapstruct;

import com.sneaker.shower.entity.domain.AppraisedDO;
import com.sneaker.shower.entity.dto.AppraisedDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.springframework.stereotype.Component;

@Component
@Mapper(componentModel = "spring")
public interface AppraisedMapStruct {
    AppraisedMapStruct INSTANCE = Mappers.getMapper(AppraisedMapStruct.class);

    AppraisedDO dto2DO(AppraisedDTO goodsItemDTO);

    AppraisedDTO do2DTO(AppraisedDO goodsItem);
}
